<h3>The list of users in this comprtition</h3>

<table id="background-image">
  <tr>
    <th>Name</th>
    <th>Sound Count</th>
    <th>Rating</th>
  </tr>

<% @users.each do |user| %>
  <tr>
    <td><%= link_to user.name, user %></td>
    <td><%= user.getCount() %></td>
    <td><%= user.getRating() %></td>

  <!--  <td><%= link_to 'Edit', edit_user_path(user) %></td>
  <td><%= link_to 'Destroy', user, :method => :delete, :data => { :confirm => 'Are you sure?' } %></td> -->

</tr>
<% end %>
</table>

<br />

<%= link_to 'Add New Competitor', new_user_path %>
